﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SQLToClass
{
    /// <summary>
    /// descript structure table in database 
    /// Created by: Dinh Quoc Vuong
    /// Created date: Oct 10th 2011
    /// </summary>
    public class TableInfo
    {
        /// <summary>
        /// Table name
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// Columns in table
        /// </summary>
        public List<ColumnInfo> Columns { get; set; }        

        public override string ToString()
        {
            return TableName;
        }
    }
}
